From 8f390b5e164dc96a37d8f7ad9c1a1a5d3153dd33 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 27 Nov 2002 23:10:13 +0000 Subject: [PATCH] More notes<->description fallout. Sigh. --- csv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/csv.c b/csv.c index e3d9cc019..b2141d9c3 100644 --- a/csv.c +++ b/csv.c @@ -146,6 +146,9 @@ csv_waypt_pr(const waypoint *wpt) if (wpt->description) description = csv_stringclean(wpt->description, ",\""); + if ((description == NULL) && wpt->notes) + description = csv_stringclean(wpt->notes, ",\""); + fprintf(file_out, "%08.5f, %08.5f, %s\n", lat, lon, -- 2.30.2